Sugar++: A SAT-Based MAX-CSP/COP Solver
نویسندگان
چکیده
This paper briefly describes some features of Sugar++, a SAT-based MAXCSP/COP solver entering the Third International CSP Solver Competition. In our approach, a MAX-CSP is translated into a Constraint Optimization Problem (COP), and then it is encoded into a SAT problem by the order encoding method [1]. SAT-encoded COP can be efficiently solved by repeatedly using the MiniSat solver [2]. The order encoding method encodes a comparison x ≤ a by a different boolean variable for each integer variable x and integer value a. Sugar [3] is a SAT-based CSP solver based on order encoding, and its effectiveness has been shown through application to Open-Shop Scheduling in [1]. A solution to COP can be obtained by repeatedly solving a certain number of CSPs. In Sugar, each CSP is solved by a different MiniSat process independently. Therefore the learnt clauses generated in each process disappear and can not be reused. This slows down the execution speed. To solve this problem, we have developed a SAT-based MAX-CSP/COP solver Sugar++ that is an enhancement of Sugar by using the incremental search feature of MiniSat. Sugar++ invokes only one MiniSat process to solve MAXCSP/COP and can reuse the learnt clauses generated during the search.
منابع مشابه
Problem Transformations and Algorithm Selection for CSPs
A constraint satisfaction problem (CSP) provides a powerful paradigm to model a large number of practical problems such as scheduling, planning, vehicle routing, configuration, network design, routing and wavelength assignment. An instance of a CSP is represented by a set of variables, each of which can be assigned a value from its domain. The assignments to the variables must be consistent wit...
متن کاملSolving Max-SAT as Weighted CSP
For the last ten years, a significant amount of work in the constraint community has been devoted to the improvement of complete methods for solving soft constraints networks. We wanted to see how recent progress in the weighted CSP (WCSP) field could compete with other approaches in related fields. One of these fields is propositional logic and the well-known Max-SAT problem. In this paper, we...
متن کاملA Compact and Efficient SAT-Encoding of Finite Domain CSP
Extended Abstract A (finite) Constraint Satisfaction Problem (CSP) is a combinatorial problem to find an assignment which satisfies all given constraints over finite domains. A SAT-based CSP solver is a program which solves a CSP by encoding it to SAT and searching solutions by SAT solvers. Remarkable improvements in the efficiency of SAT solvers make SAT-based CSP solvers applicable for solvin...
متن کاملSolving weighted CSP by maintaining arc consistency
Recently, a general definition of arc consistency (AC) for soft constraint frameworks has been proposed [1]. In this paper we specialize this definition to weighted CSP and introduce two O(ed3) enforcing algorithms. Then, we refine the definition and introduce a stronger form of arc consistency (AC*) along with two O(n2d2 + ed3) algorithms. As in the CSP case, an important application of AC is ...
متن کاملProteus: A Hierarchical Portfolio of Solvers and Transformations
In recent years, portfolio approaches to solving SAT problems and CSPs have become increasingly common. There are also a number of di erent encodings for representing CSPs as SAT instances. In this paper, we leverage advances in both SAT and CSP solving to present a novel hierarchical portfolio-based approach to CSP solving, which we call Proteus, that does not rely purely on CSP solvers. Inste...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008